// <copyright file="FixedHeader.aspx.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;
using YUIAspNet;

namespace YUIAspNetDemo.DataTable
{
    public partial class FixedHeader : BaseDemoPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LocalDataSource tbl = new LocalDataSource();
            tbl.AddColumn("id");
            tbl.AddColumn("name");

            tbl.AddRow("1", "Davolio");
            tbl.AddRow("2", "Nancy");
            tbl.AddRow("3", "Andrew");
            tbl.AddRow("4", "Fuller");
            tbl.AddRow("5", "Leverling");
            tbl.AddRow("6", "Janet");
            tbl.AddRow("7", "Margaret");
            tbl.AddRow("8", "Peacock");
            tbl.AddRow("9", "Steven");
            tbl.AddRow("10", "Buchanan");
            tbl.AddRow("11", "Suyama");
            tbl.AddRow("12", "Michael");
            tbl.AddRow("13", "King");
            tbl.AddRow("14", "Robert");
            tbl.AddRow("15", "Laura");

            this.tbl.Source = tbl;
        }
    }
}
